package com.fling.device;

import com.fling.Constants;
import com.fling.services.GameServiceInterface;

public class DeviceIOS implements Device, Constants {
	private GameServiceInterface leaderboard;

	public DeviceIOS(GameServiceInterface leaderboard) {
		this.leaderboard = leaderboard;
	}

	@Override
	public void initControls() {
	}

	@Override
	public void updateDevice(float delta) {
	}

	@Override
	public void renderDevice() {
	}

	@Override
	public void submitLeaderboardScore(int score) {
		leaderboard.submitScore(score);

	}

	@Override
	public void showLeaderboardScore() {
		leaderboard.showScores();

	}

	@Override
	public void googleLogIn() {
		leaderboard.logIn();

	}

	@Override
	public void googleLogOff() {
		leaderboard.logOut();

	}

	@Override
	public void showAchievements() {
		leaderboard.showAchievements();

	}

	@Override
	public void unlockAchievements(String id) {
		leaderboard.unlockAchievements(id);

	}

}
